import request from '@/utils/request';
import { domainUrl } from '@/utils/domain-config';
import { stringify } from 'qs';

export async function func1(params: object) {
  return request(`${domainUrl}xxx/func1?${stringify(params)}`);
}
export async function func2(body: object) {
  return request(`${domainUrl}xxx/func2`, {
    method: 'POST',
    body,
  });
}
